const request = require("../utils/request")
exports.getCategory = (data) => {
  return request({
    url: "/web/api/rest/categories/list",
    data
  })
}
exports.getCommodity = (data) => {
  return request({
    url: "/web/api/rest/commodities/list",
    data
  })
}